package cn.itcast.com.test;

public class Equals {
    public static void main(String[] args) {
        Integer i = new Integer(0);
        Integer integer = add3(i);
        System.out.println(integer);
        System.out.println(i);
    }
    public static Integer add3(Integer i){
        int val = i.intValue();
        val += 3;
        i = new Integer(val);
        return i;
    }
}
